<?php
class UNKNOWNResponse {
    function __construct() {
        $mime = $GLOBALS['mime_by_ext'][Request::type()];
        header('Content-type: '.$mime);
    }

    function out() {
        $file = Request::param('page').'.'.strtolower(Request::type());
        $res = Styler::locate($file);
        if (!$res) {
            $resp = new NotFoundResponse();
            return $resp->out();
        }
        return file_get_contents($res);
    }
}

?>